package com.miku.mikuapigateway.utils;

import cn.hutool.crypto.digest.MD5;
import cn.hutool.json.JSONUtil;

public class SignUtils {
    public SignUtils() {
    }

    public static String getSign(String body, String secretKey) {
        return MD5.create().digestHex(JSONUtil.toJsonStr(body) + '.' + secretKey);
    }
}
